package com.ruoyi.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.constant.ScheduleConstants;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.utils.StringUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;


public class AttendanceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Integer deptId;
    private String deptName;
    private Date cardTime;
    private String empName;
    private String employeeId;
    private String sysNo;

    public AttendanceRecord() {
    }

    public AttendanceRecord(Integer deptId, String deptName, Date cardTime, String empName, String employeeId, String sysNo) {
        this.deptId = deptId;
        this.deptName = deptName;
        this.cardTime = cardTime;
        this.empName = empName;
        this.employeeId = employeeId;
        this.sysNo = sysNo;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Date getCardTime() {
        return cardTime;
    }

    public void setCardTime(Date cardTime) {
        this.cardTime = cardTime;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String getSysNo() {
        return sysNo;
    }

    public void setSysNo(String sysNo) {
        this.sysNo = sysNo;
    }

    @Override
    public String toString() {
        return "AttendanceRecord{" +
                "deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", cardTime=" + cardTime +
                ", empName='" + empName + '\'' +
                ", employeeId=" + employeeId +
                ", sysNo='" + sysNo + '\'' +
                '}';
    }
}
